﻿using System;
using System.Runtime.Serialization;

namespace PairingMatrixService.Contract
{
    [DataContract]
    public class Settings
    {
        public Settings()
        {
            IterationEndDate = DateTime.Now.ToShortDateString();
        }

        [DataMember]
        public double Point1MappingToNotUrgent { get; set; }

        [DataMember]
        public double Point1MappingToUrgent { get; set; }

        [DataMember]
        public bool ShowDaysSpentForProjectCards { get; set; }

        [DataMember]
        public string MingleUsername { get; set; }

        [DataMember]
        public string MinglePassword { get; set; }

        [DataMember]
        public string MingleStoryUrl { get; set; }

        [DataMember]
        public bool MingleStoryUrlBringAllCardsFromMingle { get; set; }

        [DataMember]
        public string MingleRegressionUrl { get; set; }

        [DataMember]
        public bool MingleRegressionUrlBringAllCardsFromMingle { get; set; }

        [DataMember]
        public string MingleDPSUrl { get; set; }
        
        [DataMember]
        public bool MingleDPSUrlBringAllCardsFromMingle { get; set; }
        
        [DataMember]
        public string IterationEndDate { get; set; }
        
    }
}